package cn.itcast.service;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StatProvider {

    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("classpath*:spring/applicationContext-*.xml");
        app.start();
        System.in.read(); //等待控制台输入内容 并且回车，否则 当前进程不会结束
    }
}
